<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>配送员配费月报表</title>
</head>
<body>
<input type="hidden" id="fileUrl" value="${fileUrl}"/>
    <div ng-app="ManSalaryApp" ng-controller="ManSalaryCtrl">
        <div class="row">
            <ui-container url="report/mansalary/lists" key="report-mansalary-list-00">
                <ui-search-form>
                    <search-select-remote url="report/calculate/suffixs" class="col-md-3"  name="suffix" value-name="suffix" text-name="suffix" isslectfirst=true >
                    </search-select-remote>
                    <search-select-remote placeholder="请选择供应商" url="system/supplier/listall" class="col-md-3" name="supplierName" value-name="name" text-name="name" >
                    </search-select-remote>
                    <search-select-remote placeholder="请选择承运商" url="system/carrier/carriers" class="col-md-3" name="carrierName" value-name="carrierName" text-name="carrierName" >
                    </search-select-remote>
                    <search-select-remote placeholder="请选择目的省" url="regioncode/province" class="col-md-3" name="toProvinceName" value-name="code" text-name="name">
                    </search-select-remote>
                    <search-input class="col-md-3" name="orgName" placeholder="请输入站点名称"></search-input>
                    <search-input class="col-md-3" name="workNo" placeholder="请输入员工工号"></search-input>
                    <search-input class="col-md-3" name="userName" placeholder="请输入员工姓名"></search-input>
                </ui-search-form>
                <ui-table-tool> </ui-table-tool>
                <ui-table dischecked=true> </ui-table>
                <table-page/>
            </ui-container>
        </div>
    </div>
<script>
    angular.module('ManSalaryApp',['ui.table']);
    angular.module('ManSalaryApp').controller('ManSalaryCtrl', function($scope){
        $scope._columns=[
            {name:'supplierName',head:'商家'},
            {name:'carrierName',head:'承运商'},
            {name:'toProvince',head:'目的省'},
            {name:'orgName',head:'配送站点'},
            {name:'userOid',head:'配送员id'},
            {name:'workNo',head:'配送员工号'},
            {name:'userName',head:'配送员名称'},
            {name:'majorCount',head:'首件单量'},
            {name:'minorCount',head:'拖件单量'},
            {name:'totalCount',head:'合计单量'},
            {name:'majorFee',head:'首件配费'},
            {name:'minorFee',head:'拖件配费'},
            {name:'totalFee',head:'合计配费'}
        ];
    });
</script>
</body>
</html>
